package cn.fan.springboot_easyexcle.interfac;
import cn.fan.springboot_easyexcle.model.JsonMessage;
import com.alibaba.excel.metadata.CellData;


import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

//用于exl读取批量处理的接口
public interface EasyRealInterface {

    //批量保存
    public  void savelist(List list) ;

    //获取到这次批量保存的标题内容
    public String getreportName();

    //开始读表,这边如果表头正确才进行读取,
    public JsonMessage finish(String searcherrorpath);
    //开始读表,这边如果表头正确才进行读取,
    public JsonMessage finish(HttpServletResponse response);

    //判断读取的exl的表头是否正确
    public void checkexlHead(Map<Integer, CellData> headMap);


    public void setErrcla(Class errcla);

}
